﻿<header class="header">
    <div class="left">
        <a href="javascript:history.back();"><i class="fa fa-angle-left"></i></a>
    </div>
    <div class="tit">
        <h2>孩子信息</h2>
    </div>
    <div class="right"></div>
</header>
    <form name="ChildForm" ng-class="showOneError?'showerror':''">
        <div class="account_info">
            <div class="device_box">
                <ul class="parents_item">
                    <li>
                        <div class="edit_label">孩子姓名:</div>
                        <div class="edit_input"><input type="text" placeholder="姓名" ng-model="Childinfo.name" ng-required="true" /></div>
                    </li>
                    <li>
                        <div class="edit_label">出生日期:</div>
                        <div class="edit_input"><input readonly="readonly" name="appDate" id="appDate" type="text" placeholder="孩子出生日期" ng-model="Childinfo.birthday" ng-required="true" /></div>
                    </li>
                    <li>
                        <div class="edit_label">所在年级:</div>
                        <div class="edit_input"><input type="text" placeholder="年级" ng-model="Childinfo.choose_grade.name" ng-required="true" ng-click="gradeshow=true" readonly /></div>
                    </li>
                    <li>
                        <div class="edit_label">所在学校:</div>
                        <div class="edit_input"><input type="text" placeholder="所在学校" ng-model="Childinfo.school" ng-required="true"/></div>
                    </li>
                </ul>
            </div>
        </div>

        <div class="a_footer">
            <a class="account_btn" ng-click="ModifyChild(Childinfo)">保存</a>
        </div>
    </form>

<!--选择孩子年级-->
<div class="ui_mask " ng-show="gradeshow">
    <div class="ui_pop">
        <div class="mask_header">
            <span>孩子年级</span>
            <div class="close"  ng-click="gradeshow=flase"></div>
        </div>
        <div class="mask_content">
            <div class="region_list">
                <ul>
                    <li ng-repeat="grade in Grades" ng-click="ChooseGrade(grade)">{{grade.name}}</li>
                </ul>
            </div>
        </div>
    </div>
</div>


